<#import "/spring.ftl" as s/>
<@override name="project">
         ${project.name}
</@override>
<@override name="main">
<#--<div id="milestone_form_div">-->
    <#--<form id="milestone_form" action="<@s.url '/project/milestone/save'/>" method="post">-->
以下为里程碑详细信息：
        <table art="form" columns="80,*" autoLabel="false" leftAlign="false" colon="false">
            <tr>
                <td>
                    <label art='label'><@s.message "milestone.view.name"/></label>
                </td>
                <td>
                    <label art="label" id="name" name="name"> ${milestone.name}</label>
                </td>
            </tr>
              <tr>
                  <td>
                      <label art='label'><@s.message "milestone.view.starttime"/></label>
                  </td>
                  <td>
                      <label art="label" id="starttime" name="starttime"> <#if milestone.starttime??>${milestone.starttime?string("yyyy-MM-dd HH:mm:ss")}</#if></label>
                  </td>
              </tr>

              <tr>
                  <td>
                      <label art='label'><@s.message "milestone.view.endtime"/></label>
                  </td>
                  <td>
                      <label art="label" id="duetime" name="duetime"> <#if milestone.duetime??>${milestone.duetime?string("yyyy-MM-dd HH:mm:ss")}</#if></label>
                  </td>
              </tr>

              <tr>
                  <td>
                      <label art='label'><@s.message "milestone.view.owner"/></label>
                  </td>
                  <td>
                      <label art="label" id="owner" name="owner"> ${milestone.owner_name}</label>
                  </td>
              </tr>

              <tr>
              <td>
                  <label art='label'><@s.message "milestone.view.description"/></label>
              </td>
              <td>
                  <label art="label" id="description" name="description"> ${milestone.description}</label>
              </td>
          </tr>

              <tr>
                  <td>
                      <label art='label'><@s.message "milestone.view.project"/></label>
                  </td>
                  <td>
                      <label art="label" id="project" name="project"> ${project.name}</label>
                  </td>
              </tr>
              <tr>

            <tr>
                <td>
                    <label art='label'><@s.message "milestone.view.status"/></label>
                </td>
                <td>
                    <label art="label" id="status" name="status"> ${milestone.status}</label>
                </td>
            </tr>
            <tr>
              <#if milestone.finish_description?? >
                  <tr>
                      <td>
                          <label art='label'><@s.message "milestone.view.finish_description"/></label>
                      </td>
                      <td>
                          <label art="label" id="finish_description" name="finish_description"> ${milestone.finish_description}</label>
                      </td>
                  </tr>
              <tr>
              </#if>
            <tr>
                <td>
                    <label art='label'><@s.message "milestone.view.username"/></label>
                </td>
                <td>
                    <label art="label" id="username" name="username"> ${milestone.userName}</label>
                </td>
            </tr>
            <tr>
        </table>


</@override>
<@override name="scripts">
<script type="text/javascript">
      var  code ='${project.code}';
</script>

<#--<script type="text/javascript" src="<@s.url '/resources/scripts/project/milestone/edit.js'/>"></script>-->
</@override>
<@extends name="/common/projectlayout1.1.ftl" current="milestone" title='${title}' code='${project.code}'></@extends>